package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 会员表
 * </p>
 *
 * @author zwl
 * @since 2019-04-22
 */
@TableName("tb_member_info")
public class TbMemberInfo implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 会员编号
	 */
	@TableId(value="member_id")
	private Long memberId;

	/**
	 * 会员名称
	 */
	@TableField(value="member_name")
	private String memberName;

	/**
	 * 会员昵称
	 */
	@TableField(value="nick_name")
	private String nickName;

	/**
	 * 手机号码
	 */
	private String phone;

	/**
	 * 用户状态 1:正常 2:禁用
	 */
	private Integer status;

	/**
	 * 用户头像
	 */
	@TableField(value="head_img_url")
	private String headImgUrl;

	/**
	 * 出生日期
	 */
	private Date birth;

	/**
	 * 性别
            1: 男
            2: 女
	 */
	private Integer sex;

	/**
	 * 注册时间
	 */
	@TableField(value="reg_time")
	private Date regTime;

	/**
	 * 最后登录时间
	 */
	@TableField(value="last_login_time")
	private Date lastLoginTime;

	/**
	 * 数据状态 1:正常 0:删除
	 */
	@TableField(value="data_status")
	private Integer dataStatus;

	/**
	 * 访问令牌
	 */
	private String token;

	/**
	 * 密码
	 */
	private String passwd;


	@TableField(value = "idcard_no")
	private String idcardNo;

	@TableField(value = "referrer")
	private String referrer;

	@TableField(value = "student_id")
	private String studentId;

	@TableField(value = "card_id")
	private String cardId;

	/**
	 * 套餐（数据字典）
	 */
	@TableField(value = "set_meal")
	private String setMeal;

	/**
	 * 数量
	 */
	@TableField(value = "num")
	private Integer num;

	@TableField(value = "total_price")
	private BigDecimal totalPrice;

	@TableField(value = "gift")
	private String gift;

	public String getGift() {
		return gift;
	}

	public void setGift(String gift) {
		this.gift = gift;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}


	public String getIdcardNo() {
		return idcardNo;
	}

	public void setIdcardNo(String idcardNo) {
		this.idcardNo = idcardNo;
	}

	public String getReferrer() {
		return referrer;
	}

	public void setReferrer(String referrer) {
		this.referrer = referrer;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getSetMeal() {
		return setMeal;
	}

	public void setSetMeal(String setMeal) {
		this.setMeal = setMeal;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(Integer dataStatus) {
		this.dataStatus = dataStatus;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

}
